home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows Expert
/
Windows Expert.iso
/
windownt
/
mypal.zip
/
MYPAL
next >
Wrap
Text File
|
1993-02-17
|
612b
|
25 lines
# Nmake macros for building Windows 32-Bit apps
!include <ntwin32.mak>
all: mypal.exe
# Update the resource if necessary
mypal.res: mypal.rc mypal.h
rc -r mypal.rc
mypal.rbj: mypal.res
cvtres -$(CPU) mypal.res -o mypal.rbj
# Update the object file if necessary
mypal.obj: mypal.c mypal.h
$(cc) $(cflags) $(cvars) $(cdebug) mypal.c
# Update the executable file if necessary, and if so, add the resource back in.
mypal.exe: mypal.obj mypal.rbj mypal.def
$(cvtobj) $(cvtdebug) *.obj
$(link) $(linkdebug) $(guiflags) -out:mypal.exe mypal.obj mypal.rbj $(guilibs)